
#ifndef DTOShipACTION_H_
#define DTOShipACTION_H_

#include "DTO.h"


enum Action {DIE,LIFE_REDUCE,RETURN};

class DTOShipAction : public DTO{
public:

	DTOShipAction(std::string owner,std::string nombre_jugador,Action action, int life_reduce,playElement elementType, int x, int y);

	DTOShipAction(std::string& aDeserealizar,std::string owner);

	virtual std::string serializar();

	std::string nombre_jugador;
	Action action;
	int life_reduce;
	playElement elementType;
	int x;
	int y;

protected:

	virtual void deserializar(std::string& string);


};

#endif /* DTOShipACTION_H_ */
